package com.terry.test1.newd;


import javax.validation.constraints.NotNull;

public interface RegistrationService {
    /**
     * 注册用户
     * @param name
     * @param phone
     * @param address
     * @return
     */
    User register(@NotNull Name name, @NotNull PhoneNumber phone, @NotNull Address address);
}
